<?php
class FamilyViewModel extends Model
{
	protected $viewModel = true;

    protected $viewFields = array(

                'Studentinfo'=>array('xh','xm'=>'xm','xb','dm_yx','yx','dm_zy','zy','dm_bj','bj','rxnd','lxnd','sfzh','birthday','ksh'),

                'Family'=>array('xh'=>'id','address','tel','zip','rank'),

                );

	protected $viewCondition = array(

		'Studentinfo.xh'=>array('eqf','Family.xh'),

	);
}
?>